package lovo.practice_7_14;

import lovo.FileUtil.FileUtil;

import java.util.ArrayList;
import java.util.List;

public class Bef {
    private List<User> first = new ArrayList<User>();

    public void init() {

        first.add(new User("aaaaaa", "111111", 10000));
        first.add(new User("bbbbbb", "222222", 20000));

        first.add(new User("cccccc", "333333", 30000));

        first.add(new User("dddddd", "444444", 40000));

        first.add(new User("eeeeee", "555555", 50000));




        FileUtil.writeObject("d:/atm.dat", first);
    }

    public static void main(String[] args) {
        new Bef().init();
    }
}
